package com.example.studygo.controller;

import com.example.studygo.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author 路老师
 * @date 2025/8/13
 * 无精神，不编程！无乐趣，不编程！
 * “调试：与bug共舞的艺术。”
 */
@Controller

@RequestMapping("/my")
public class MyTest {
    @Autowired
    private UserService userService;

    @RequestMapping("/ok2")
    public void test()
    {
        System.out.println("userService.list() = " + userService.list());
    }

}
